<?php
/**
 * Template header
 * 
 * @package WordPress
 * @subpackage mt-erp
 * @copyright nuarharuha <nhnoah+mt-erp@gmail.com>
 * ================================================================
 * SVN revision information:
 * @version $Revision: 4 $:
 * @author  $Author: nhnoah@gmail.com $:
 * @date    $Date: 2012-04-17 06:42:39 +0000 (Tue, 17 Apr 2012) $:
 * ================================================================
 * @category template
 * @since 0.1
 */
?>
<!doctype html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7" lang="en"> <![endif]-->
<!--[if IE 7]>    <html class="no-js lt-ie9 lt-ie8" lang="en"> <![endif]-->
<!--[if IE 8]>    <html class="no-js lt-ie9" lang="en"> <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]-->
<head>
  <meta charset="utf-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

  <title><?php
	/*
	 * Print the <title> tag based on what is being viewed.
	 */
	global $page, $paged;

	wp_title( '|', true, 'right' );

	// Add the blog name.
	bloginfo( 'name' );

	// Add the blog description for the home/front page.
	$site_description = get_bloginfo( 'description', 'display' );
	if ( $site_description && ( is_home() || is_front_page() ) )
		echo " | $site_description";

	// Add a page number if necessary:
	if ( $paged >= 2 || $page >= 2 )
		echo ' | ' . sprintf( __( 'Page %s', 'mt' ), max( $paged, $page ) );

	?></title>
  <link rel="profile" href="http://microformats.org/profile/hcard" />    
  <link rel="profile" href="http://gmpg.org/xfn/11" />  
  <link rel="pingback" href="<?php bloginfo( 'pingback_url' ); ?>" />    
  <meta name="description" content="<?php echo get_bloginfo( 'description', 'display' );?>" />
  <meta name="viewport" content="width=device-width" />
  <link rel="icon" type="image/png" href="<?php echo mt_get_public_uri('favicon.png','img'); ?>" />
  <link rel="stylesheet" media="all" href="<?php bloginfo( 'stylesheet_url' ); ?>" />
  <link rel="stylesheet" href="<?php mt_public_uri('12_col.css','css'); ?>" />
  <link rel="stylesheet" href="<?php mt_public_uri('general.css','css'); ?>" />
  <script src="<?php mt_public_uri('modernizr-2.5.3.min.js','js/libs'); ?>"></script>
  <script>window.jQuery || document.write('<script src="<?php mt_public_uri('jquery-1.7.1.min.js','js/libs');?>"><\/script>')</script>
  <script src="<?php mt_public_uri('jqfancy.js','js/libs');?>"></script>
<?php wp_head(); ?>  
    <?php if ( is_home() || is_front_page() ): ?>
    <script src="<?php mt_public_uri('home.js','js'); ?>" type="text/javascript"></script>
    <?php endif; ?>
</head>
<body <?php body_class(); ?>>
<div class="cwrap">
  <!-- Prompt IE 6 users to install Chrome Frame. Remove this if you support IE 6.
       chromium.org/developers/how-tos/chrome-frame-getting-started -->
  <!--[if lt IE 7]><p class=chromeframe>Your browser is <em>ancient!</em> <a href="http://browsehappy.com/">Upgrade to a different browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">install Google Chrome Frame</a> to experience this site.</p><![endif]-->
  <header>
  <div class="container_12">
  <div class="grid_10 push_1">    
    <hgroup>
        <h1><a id="site-title" href="<?php mt_home_url();?>" title="<?php __e(get_bloginfo('name','display')); ?>"><?php __e(get_bloginfo('name')); ?></a></h1>
        <h2><?php echo get_bloginfo( 'description', 'display' );?></h2>
    </hgroup>  
    <nav class="clearfix">
        <ul class="clearfix fnt-oxygen">
            <li class="first"><a href="<?php mt_home_url();?>"><span>Home</span></a></li>
            <li><a href="<?php mt_page_url('about');?>"><span>About</span></a></li>
            <li><a href="<?php mt_page_url('services');?>"><span>Services</span></a></li>
            <li><a href="<?php mt_page_url('projects');?>"><span>Projects</span></a></li>
            <li class="last"><a href="<?php mt_page_url('contact-us');?>"><span>Contact Us</span></a></li>
        </ul>
    </nav>
    </div> <!-- #grid_10 -->    
   </div> <!-- #container_12 --> 
   <div class="clear"></div>
  </header>
  <div class="clear"></div>